-- GENERATED SPELL FOR [Sapphire Hive Wasp] --


function spell0_28086(pUnit, Event) --@Stinger Rage,Self--
pUnit:FullCastSpellOnTarget(34392,pUnit)
pUnit:RegisterEvent('Sorts_28086', 6308, 1)
end

function Sorts_28086(pUnit, Event)
local choix_sorts_28086 = math.random(0, 0)
if choix_sorts_28086 == 0 then
pUnit:RegisterEvent('spell0_28086', 1, 1)
end
end

function mob28086_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28086', math.random(1500, 3000), 1)
end

function mob28086_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28086_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28086_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28086, 1, 'mob28086_Action')
RegisterUnitEvent(28086, 2, 'mob28086_Leave')
RegisterUnitEvent(28086, 3, 'mob28086_Kill')
RegisterUnitEvent(28086, 4, 'mob28086_Die')
